import enum

# ======= Status Enums =======
class ChromatographModuleStatus(enum.IntEnum):
    IDLE = 10
    COLLECTING = 11
    WAITING_MERGE = 12
    MERGING = 13
    COMPLETED = 14
    SEPARATING = 15


class CollectionRackStatus(enum.IntEnum):
    IDLE = 0
    IN_USE = 1


class RotaryEvaporationStatus(enum.IntEnum):
    IDLE = 0
    EVAPORATING = 1
    WAITING_DISCHARGE = 3
    WAITING_EVAPORATION = 5


class WashingRackStatus(enum.IntEnum):
    IDLE_1 = 10
    IN_USE_1 = 11
    IDLE_2 = 20
    IN_USE_2 = 21


class ColumnRackStatus(enum.IntEnum):
    IDLE = 0
    IN_USE = 1


class AbbStatus(enum.IntEnum):
    IDLE = 0
    IN_USE = 1


class ScaraStatus(enum.IntEnum):
    IDLE = 0
    IN_USE = 1


class BigBottleStatus(enum.IntEnum):
    IDLE_RACK = 0
    IDLE_COLLECTION = 1
    INJECTING = 2
    MAX_CAPACITY = 3
    MERGE_COMPLETE = 4
    WAITING_TRANSFER = 5
    WAITING_MERGE = 6
    CLEANING = 7
    EVAPORATING = 8
    EVAPORATION_COMPLETE = 9


class SmallBottleStatus(enum.IntEnum):
    IDLE_RACK = 0
    IDLE_WASHING = 1
    COMPLETED = 2
    WAITING_TRANSFER = 3
    WAITING_STORAGE = 4
    STORED = 5
    EVAPORATING = 7
    EVAPORATION_COMPLETE = 9


class EthylAcetateStatus(enum.IntEnum):
    SUFFICIENT = 0
    INSUFFICIENT = 1


class PetroleumEtherStatus(enum.IntEnum):
    SUFFICIENT = 0
    INSUFFICIENT = 1


class SampleStatus(enum.IntEnum):
    SUFFICIENT = 0
    INSUFFICIENT = 1